package org.summerframework.component.security.role.service.dto;

import org.summerframework.core.base.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * user_role_rel
 * @author
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserRoleRelDTO extends BaseDTO {
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", required = true)
    private Long userId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", required = true)
    private Long roleId;

    @ApiModelProperty(value = "")
    private String roleName;

    @ApiModelProperty(value = "")
    private String roleCode;

    @ApiModelProperty(value = "")
    private Integer roleType;

    @ApiModelProperty(value = "")
    private Long roleRelId;

    /**
     * 状态  1:正常 0:禁用
     */
    @ApiModelProperty(value = "状态  1:正常 0:禁用")
    private Integer status;
}
